package per.hongze.javatest.mappers;

import per.hongze.javatest.pojo.Role;

import java.util.List;

/**
 * @author YiDan
 * @version 1.0
 * @description: TODO
 * @date 2022/8/15 11:58
 */

public interface RoleMapper {

    /**
     * 添加角色信息
     * @param role
     * @return
     */
    int insertRole(Role role);

    List<Role> findAll();
}
